home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / aio_error.z / aio_error
Text File  |  1998-10-20  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAAIIIIOOOO____EEEERRRRRRRROOOORRRR((((3333))))                                                      AAAAIIIIOOOO____EEEERRRRRRRROOOORRRR((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      aio_error, aio_error64 - return error status of an asynchronous I/O
  10.      operation
  11.  
  12. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<aaaaiiiioooo....hhhh>>>>
  14.  
  15.      iiiinnnntttt aaaaiiiioooo____eeeerrrrrrrroooorrrr((((ccccoooonnnnsssstttt aaaaiiiiooooccccbbbb____tttt ****aaaaiiiiooooccccbbbbpppp))));;;;
  16.  
  17.      iiiinnnntttt aaaaiiiioooo____eeeerrrrrrrroooorrrr66664444((((ccccoooonnnnsssstttt aaaaiiiiooooccccbbbb66664444____tttt ****aaaaiiiiooooccccbbbbpppp))));;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      The _a_i_o__e_r_r_o_r() function returns the error status associated with the
  21.      _a_i_o_c_b_p passed in. The error status for an asynchronous I/O operation is
  22.      the _e_r_r_n_o value that would be set by the corresponding _r_e_a_d(_2) or
  23.      _w_r_i_t_e(_2) or _f_s_y_n_c(_2) operation.  If the operation has not yet completed,
  24.      then the error status shall be equal to EINPROGRESS.
  25.  
  26.      The _a_i_o__e_r_r_o_r_6_4() function is identical to _a_i_o__e_r_r_o_r() except that it
  27.      takes an _a_i_o_c_b_6_4__t * (see <aaaaiiiioooo....hhhh>).  This structure allows for the
  28.      specification of a file offset greater than 2 Gigabytes.  The user must
  29.      define ____AAAABBBBIIII____SSSSOOOOUUUURRRRCCCCEEEE and include ----llllaaaabbbbiiii to access the _a_i_o_6_4 routines.
  30.  
  31. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  32.      aio_read(3), aio_write(3), lio_listio(3), aio_error(3), aio_return(3),
  33.      aio_cancel(3), aio_sgi_init(3), read(2), lseek(2), close(2),_exit(2),
  34.      exec(2), fork(2).
  35.  
  36. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  37.      If the asynchronous I/O operation has completed successfully, then 0
  38.      shall be returned. If the asynchronous operation has completed
  39.      unsuccessfully, then the error status, as described for _r_e_a_d(_2),
  40.      _w_r_i_t_e(_2), and _f_s_y_n_c(_2) shall be returned. If the asynchronous I/O has not
  41.      yet completed, then EINPROGRESS shall be returned.
  42.  
  43.      If any of the conditions below occur, the _a_i_o__e_r_r_o_r() function shall
  44.      return -1 and set _e_r_r_n_o to the corresponding value.
  45.  
  46.      [EINVAL]       The _a_i_o_c_b_p argument does not yet refer to an asynchronous
  47.                     operation whose return status has not yet been retrieved.
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.